#include <stdio.h>
//可以操作单独的位，但是会受到符号位的影响，最好是使用无符号；
typedef struct bitStructure2
{
    char a :2;
    char b :2;
    char c :2;
    char e :2;
    char f :1;
    char g :1;
    char h :1;
    char i :1;
}BT;
  
int main(int argc, char *argv[]){  
    BT bit;
    // bit.a = 0x01;
    // bit.b = 0x01;
    // bit.c = 0x01;
    bit.e = 0x01;
    printf("%d\n",bit.e);
   
    return 0;  
}
